package com.agileboot.domain.app.user.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 用户扩展信息
 *
 * @TableName app_user_info
 */
@Data
@TableName(value = "app_user_info")
public class AppUserInfoEntity extends Model<AppUserInfoEntity> implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 可用额度
     */
    @TableField(value = "available_credit")
    private Integer availableCredit;

    /**
     * 贷款利息
     */
    @TableField(value = "interest_rate")
    private String interestRate;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_card_number")
    private String bankCardNumber;

    /**
     * 银行卡机构
     */
    @TableField(value = "bank_card_org")
    private String bankCardOrg;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}